package com.qzboot.facade.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.qzboot.facade.support.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zengzhihong
 * @date 2019-12-17
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysLog extends BaseEntity {


    private String logType;

    private String content;

    private String reqIp;

    private String userAgent;

    private String reqUri;

    private String method;

    private String params;

    private Long useTime;

    private String extInfo;

    @TableField(updateStrategy = FieldStrategy.NEVER)
    private Long createByUserId;

    @TableField(updateStrategy = FieldStrategy.NEVER)
    private String createByUsername;
}
